//
// https://www.bbsmax.com/A/ke5jeN7OJr/
//
#ifndef Excel_h
#define Excel_h
#include <stdio.h>
#include <vector>
#include <map>
using namespace std;

struct LineInfo{
    int lineIndex;
    vector<string> array;
};

class Excel {
public:
    Excel();
    bool parseExcelFile(const string& filepath, int sheetIndex );
    vector<LineInfo> getSheetArray();
    
private:
    vector<string> _getValueArray();
    map<int, LineInfo> excelHash;
    string  _excelFilePath;
};
#endif
